# 私有成员
class Phone:
    IMEI=None   #序列号
    producer=None #厂商
    __current_votage=None   #私有变量
    def __keep_single_core(self):   #私有成员
        print("cpu以单核模式运行")

Phone_1=Phone()
Phone_1.IMEI="1234134"
Phone_1.producer="vivo"
Phone_1.__current_votage="23"   #错误,私有变量不能被调用
Phone_1.__keep_single_core()        #错误,私有变量不能被调用
print(f"手机序列号:{Phone_1.IMEI},厂商为:{Phone_1.producer}")
print(Phone_1.__current_votage)


    